#include "util.h"
#include "common/log.h"


namespace evm {
    namespace http {

        const std::string& get_header(const Headers& headers, const std::string& field) {
            if (headers.count(field)) {
                return headers.find(field)->second;
            }
            static const std::string empty;
            return empty;
        }

    }
}
